bookmarksmanager: Ignore delete events
authorMatthias Clasen <mclasen@redhat.com>
Sat, 8 Aug 2020 14:41:57 +0000 (10:41 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 8 Aug 2020 15:48:32 +0000 (11:48 -0400)
commit8a67899e0f36243c6598ea089ad58d689f146e0d
treec90590536d5c89ae7246203ae6a0bc4b8529fce4
parentbb30a2300454f0792bbedcc19bbeb51a8348f41c
bookmarksmanager: Ignore delete events

Surpisingly, when a monitored file gets atomically replaced
with g_file_set_contents(), the file monitor reports a
DELETED event for the temp file, which is not the file
I'm monitoring.

Just ignore DELETED events.

Fixes: #3036
gtk/gtkbookmarksmanager.c